package com.xq.springboot.prop;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 属性配置示例类.
 * 
 * @author 郭凯强
 */
@Component
@ConfigurationProperties(prefix = "girl")
public class GirlProp {
	/**
	 * 罩杯
	 */
	private String cupSize;
	/**
	 * 年龄
	 */
	private int age;

	public String getCupSize() {
		return cupSize;
	}

	public void setCupSize(String cupSize) {
		this.cupSize = cupSize;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

}
